package com.zg.common.core.dao.apis;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zg.common.core.dao.IDao;
import com.zg.common.core.dao.apis.entity.ApiInfo;
import com.zg.common.core.dao.apis.mapper.ApiInfoMapper;
import org.springframework.stereotype.Service;

/**
 * @author zxb
 */
@Service
public class ApiInfoDao extends ServiceImpl<ApiInfoMapper, ApiInfo> implements IDao<ApiInfo> {

    public Page<ApiInfo> pageInfo(Page<ApiInfo> page,
                              LambdaQueryWrapper<ApiInfo> wrapper){
        return getBaseMapper().page(page,wrapper);
    }
}
